package com.skd.mall.product.fegin;


import com.skd.common.dto.SkuHasgStockDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("mall-ware")
public interface WareSkuFeginService {
    @RequestMapping("/ware/waresku/hasStock")
    List<SkuHasgStockDto> getSkusHasStock(@RequestBody List<Long> skuIds);
}